package cn.iocoder.yudao.module.im.controller.admin.vo.group;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

/**
 * 发布群公告请求VO
 *
 * @author 芋道源码
 */
@Schema(name = "发布群公告请求VO")
@Data
public class GroupPublishAnnouncementReqVO {

    @Schema(description = "公告标题", required = true, example = "重要通知")
    @NotEmpty(message = "公告标题不能为空")
    private String title;

    @Schema(description = "公告内容", required = true, example = "请所有成员注意，明天下午3点开会")
    @NotEmpty(message = "公告内容不能为空")
    private String content;

    @Schema(description = "发布者ID", required = true, example = "1")
    @NotNull(message = "发布者ID不能为空")
    private Long publisherId;

}